@extends('layouts.master')

@section('content')

   {{HTML::style('css/ekko-lightbox.css')}}

   

     <section id="content" class="col-lg-12 ">
       <div id="signinbox"> 
     <ul>
      @foreach($errors->all() as $error)
         <li>{{ $error }}</li>
      @endforeach
   </ul>
   

     <h2>Provider Company detail</h2>


     <table class="table" >
    @if($company)
       
     <tr class="row">  
        <td class="col-lg-2">{{ Form::label('companyname', 'Company Name')}} :</td>
        <td class="col-lg-6">  {{ $company->name}}</td>
     </tr>
     
     
     <tr class="row">  
        <td class="col-lg-2">{{ Form::label('description', 'Description')}} :</td>
        <td class="col-lg-6">  {{ $company->content}}</td>
     </tr>
      
    <tr class="row">  
        <td colspan=2>
         @foreach ($pics as $pic)
         
          <div id="demoLightbox" class="lightbox hide fade"  tabindex="-1" role="dialog" aria-hidden="true">
              <div class='lightbox-content'>
              
              <div class="lightbox-caption"><p>Picture</p></div>
            </div>
          </div>
        
          <div class="col-xs-6 col-md-3 col-lg-2" >
            <a data-toggle="lightbox"  href="/userdata/{{$company->id}}/{{$pic}}" >
              {{ HTML::image('userdata/'.$company->id.'/'.$pic,'',array('class'=>'img-thumbnail'))}}
            </a>
         
        </div>
          @endforeach
        </td>
     </tr>


    @else
    
      This no such company

    @endif

      </table>
    
     {{ Form::close() }}
          
    </div>
    <br><br><br>
   
   
    </div>
     <br><br><br><br><br><br><br><br><br><br>
    </section>

@stop
